package com.fang.networkdisk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fang.common.entity.bo.NetDisLogBo;
import com.fang.networkdisk.entity.po.TbNetDisLog;
import com.fang.networkdisk.entity.vo.LogVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Bernie_fang
 * @since 2025-04-30
 */
@Mapper
public interface TbNetDisLogMapper extends BaseMapper<TbNetDisLog> {

    int insertDisLog(@Param("disLog") TbNetDisLog disLog);

//    int updateDisLogById(@Param("disLog") TbNetDisLog disLog);

    List<LogVo> queryLog(@Param("disLogBo") NetDisLogBo logBo);

    int queryLogCount(@Param("disLogBo") NetDisLogBo logBo);

}
